#include <syslog.h>
main(int argc , char *argv[])
{
	char *str = "test";
	openlog(argv[0],LOG_PID,LOG_USER);
	syslog(LOG_INFO,"%s\n",str);
	closelog();
}